
package com.example.myblog.entity;


public class User {
    private int id;
    private String name;
    private String password;
    private String gender;
    private int age;
    private String datetime;

    public void setId(int id) {
        this.id = id;
    }
    public int getId() {
        return id;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getPassword() {
        return password;
    }
    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }
    public String getDatetime() {
        return datetime;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGender() {
        return gender;
    }

}
